﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TX.Core;
using TX.Passport.Models;   

namespace TX.Passport.Repositories
{
    /// <summary>
    /// 职位存储库
    /// </summary>
    public interface IPositionRepository{        
        IQueryable<Position> GetPositions(QueryOption<Position> option = null);
        Position AddPosition(Position model);
        void RemovePosition(Position model);
        void UpdatePosition(Position model);
    }
}